package com.yjy.xml.v1;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Body")
public class OpenAcctRsp_cbhb {

    @XmlElement(name = "UserType")
    private String custType;
    @XmlElement(name = "Status")
    private String status;

    @XmlElementWrapper(name = "TransInfoList")
    @XmlElements(value = {@XmlElement(name = "TransInfoMap", type = TransInfo.class)})
    private List<TransInfo> transInfoList;

    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "TransInfoMap")
    public static class TransInfo {
        @XmlElement(name = "VirlAcctName")
        private String acctName;    //虚拟用户名;
        @XmlElement(name = "VirlAcctNo")
        private String acctNo;  //虚拟账号;
        @XmlElement(name = "CifNo")
        private String cifNo;   //虚拟 客户号;
        @XmlElement(name = "VirlAcctType")
        private String virlAcctType;    //虚账户类型 01 基本户 02 保证金户 03 结算户 04 只收不付 05 融资专用户;
        @XmlElement(name = "Status")
        private String status;  //;
        @XmlElement(name = "NonAuthFlag")
        private String nonAuthFlag; //免密标志 0: 是 1 ：否;
        @XmlElement(name = "BizAcctNo")
        private String bizAcctNo;   //20 位账号;

        public String getAcctName() {
            return acctName;
        }

        public void setAcctName(String acctName) {
            this.acctName = acctName;
        }

        public String getAcctNo() {
            return acctNo;
        }

        public void setAcctNo(String acctNo) {
            this.acctNo = acctNo;
        }

        public String getCifNo() {
            return cifNo;
        }

        public void setCifNo(String cifNo) {
            this.cifNo = cifNo;
        }

        public String getVirlAcctType() {
            return virlAcctType;
        }

        public void setVirlAcctType(String virlAcctType) {
            this.virlAcctType = virlAcctType;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getNonAuthFlag() {
            return nonAuthFlag;
        }

        public void setNonAuthFlag(String nonAuthFlag) {
            this.nonAuthFlag = nonAuthFlag;
        }

        public String getBizAcctNo() {
            return bizAcctNo;
        }

        public void setBizAcctNo(String bizAcctNo) {
            this.bizAcctNo = bizAcctNo;
        }
    }

    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<TransInfo> getTransInfoList() {
        return transInfoList;
    }

    public void setTransInfoList(List<TransInfo> transInfoList) {
        this.transInfoList = transInfoList;
    }
}